import { LiteFlowChain } from "@/model/LiteFlow";
import http, { resolve } from "./http";

class ChainService {
    run(chain: LiteFlowChain): Promise<string> {
        return resolve(http.post("/chain/run", chain))
    }
}
const chainService = new ChainService()
export default chainService;